Revision: kernel-package--devel--9.0--patch-45
Archive: srivasta@debian.org--etch
Creator: Manoj Srivastava <srivasta@debian.org>
Date: Tue Oct 25 03:52:01 CDT 2005
Standard-date: 2005-10-25 08:52:01 GMT
Modified-files: ChangeLog kernel-img.conf.5
    kernel-pkg.conf.5 kernel/ChangeLog kernel/image.postinst
    kernel/image.postrm kernel/image.preinst
    kernel/image.prerm kernel/rules
New-patches: srivasta@debian.org--etch/kernel-package--devel--9.0--patch-45
Summary: Implement the initramfs creation mechanism created in NMU's
Keywords: 

* kernel-img.conf.5: Document the fact that the ramdisk variable can now
  be a space separated list of init ram disk creation commands, which
  need to also support the --supported-host-version and
  --supported-target-version options, just like mkinitrd does. This is
  the list tried at installation time.

* kernel-pkg.conf.5: Document the fact that one can provide the default
  values for the list by setting INITRD_CMD, but this list can be
  overridden by the one in kernel-img.conf.5. However, the defaults are
  set to a subset of "mkinitrd mkinitrd.yaird mkinitramfs", the subset
  being decided based on the version of the kernel being built, so one
  should refrain from setting this manually -- unless one knows what one
  is doing.

* kernel/image.postinst: Added new variable for the initrd dependency,
  and also modified the variable ramdisk to be a space separated list of
  commands, not just a single command.
  (find_inird_tool): Added function to determine the list of viable
  initrd creation tools present on the target system, and use it to
  select which tool to use for creating the ram fs.

* kernel/image.postrm: Added new variable for the initrd dependency,
  and also modified the variable ramdisk to be a space separated list of
  commands, not just a single command.

* kernel/image.preinst: Added new variable for the initrd dependency,
  and also modified the variable ramdisk to be a space separated list of
  commands, not just a single command.
  (find_inird_tool): Added function to determine the list of viable
  initrd creation tools present on the target system, and use it to
  select which tool to use for creating the ram fs.

* kernel/image.prerm: Added new variable for the initrd dependency,
  and also modified the variable ramdisk to be a space separated list of
  commands, not just a single command.

* kernel/rules (initrddep): Calculate the initrd_cmd list, unless one has
  already been provided by the user, using the version numbers of the
  kernel being packaged, and then calculate the list of dependencies
  based on the list of commands selected. Also, propagate the list of
  initrd commands and dependencies to the maintainer scripts as well. 
